﻿//************************************************************************************************
// Copyright © 2003-2012 Steven M. Cohn. All Rights Reserved.
//
// Facility:	Microsoft Development Environment 2012  Version 11.0.50727.1
// Environment:	Microsoft .NET Framework 4.5            Version v4.0.30319
//
// Description: A enumeration of the various states of a cookie
//
// Revision History:
// -Who--------------- -When---------- -What------------------------------------------------------
// Steven M. Cohn		18-Oct-2003		New
// Steven M. Cohn		12-Oct-2004		VS.NET 2005, .NET 2.0
// Steven M. Cohn		20-Nov-2012		Refresh! VS2010 .NET 4.5 64-bit
//************************************************************************************************

namespace CookieChipper
{
	using System;


	/// <summary>
	/// The various states of a cookie
	/// </summary>

	[Flags]
	internal enum CookieState : uint
	{
		Unknown = 0,
		Raw = (1 << 0),						// new since our last inspection
		Crispy = (1 << 1),					// a good old fashion treat
		Favorite = (1 << 2),				// related to favorites URL
		Locked = (1 << 3),					// a favorite tasty morsal to stash away
		Stale = (1 << 4),					// close to or past expiration date
		Moldy = (1 << 5),					// left out untouched for way too long
		Phantom = (1 << 20),				// hash table entry without file
		Rogue = (1 << 21)					// file without hash table entry
	}
}
